package com.zjj.config;


import org.springframework.context.annotation.ComponentScan;
import org.springframework.context.annotation.Configuration;
import org.springframework.context.annotation.PropertySource;

@Configuration //这是Spring配置
@ComponentScan({"com.zjj.dao","com.zjj.service"})//要扫描的包
@PropertySource(value = "{student.properties}",encoding = "utf-8")//读取数据库文件
public class SpringConfig {

}
